//3.11 
#include<iostream>

int main()
{
	const int n = 10;
	int arr[n];
	std::cout << "Enter 10 number: ";
	for( int i = 0; i < n ; ++i)
	{
		std::cin >> arr[i];
	}
	int count = 0;

	for( int i = 0 ; i < n; ++i )
	{
		if( arr[i] <= 0 ){
			++count;
		}
	}
	int arr_1[n];
	int sz = 0;
	if( 0 != count ){
		for( int i = 0; i < n; ++i)
		{
			if( arr[i] <= 0) continue;
			arr_1[sz++] = arr[i];
		}
	}
	else {
		int min = arr[0];
		for( int i = 0; i< n; ++i )
		{
			if( arr[i] < min ){
				min = arr[i];
			}
		}
		for( int i = 0; i < n; ++i)
		{
			if( min == arr[i] )continue;
			arr_1[sz++]=arr[i];
		}
	}
	for( int i = 0; i < sz; ++i)
	{
	std::cout << "subset is : " << arr_1[i] ;
	}
	std::cout << std::endl;
	return 0;
}